1. Create a public function in a BAS module to which you can pass a ZIP code string. This function should verify that the ZIP code is in the proper ZIP code or ZIP+4 format.
2. Create a public function in a BAS module to which you can pass a Social Security number (SSN) string. This function should verify that the SSN is in the proper format: 999-99-9999.
3. Add a Birth Date text box named txtBirthDate to the Employee form.
Add a Salary text box named txtSalary to the form.
Create a function in the Employee Information form called FormCheck() that returns a Boolean value.
This function should validate the following information for the fields on the form:
The txtLast cannot be empty.
The cboState combo box must have a state selected.
The ZIP code must be filled in and must be in either a ZIP code or ZIP+4 format.
The SSN must be filled in and must be in a valid format.
The birth date must be a valid date.
The salary field must be numeric.
If the Health Plan check box is selected, make sure that at least one item in the Health Care Choices list box has been cheked.